<template>
    <div class="body-box">
        <div class="box">
            <div class="font-logo">卓观科技</div>
            <div class="menu-box">
                <router-link to="/home">首页</router-link>
                <router-link to="/product">产品展示</router-link>
                <router-link to="/attract">招商加盟</router-link>
                <router-link to="/about">关于我们</router-link>
            </div>
        </div>
    </div>
</template>
<script>
    export default {
        name: "HeaderNav"
    }
</script>
<style scoped>
    .body-box {
        width: 100%;
        height: 60px;
        display: flex;
        justify-content: center;
        background: #fff;
        /* background: rgb(16, 151, 255); */
        border-bottom: 2px solid #06f;
    }

    .body-box .box {
        width: 95%;
        height: 100%;
        display: flex;
        align-items: center;
        /* border: 1px solid red; */

    }

    .body-box .box .font-logo {
        font-size: 26px;
        color: #333;
        font-weight: 600;
        /* border: 1px solid red; */
    }

    .body-box .box .menu-box {
        /* border: 1px solid red; */
    }

    .body-box .box .menu-box a {
        color: #333;
        font-size: 16px;
        font-weight: 600;
        margin-left: 50px;
        padding: 10px;
        /* border: 1px solid red; */
        background: #f0f3f8;
        border-radius: 5px;
        transform: 0.3ms;
        transition: 0.3ms;
    }

    .body-box .box .menu-box a:hover {
        background: #06f;
        color: #fff;
        transition: 500ms;
    }
</style>